const strs = ['a', 'b', 'c'];
strs.forEach((item) => {
  console.log(item.toUpperCase());
});

const nums = [1, 2, 3];
nums.forEach((item) => {
  console.log(item.toFixed(2));
});